package com.yg.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yg.config.result.R;
import com.yg.entity.readAndWriteTemplates.TeachingMeetRead;
import com.yg.entity.singleEntity.TeachingMeet;

import javax.servlet.http.HttpServletResponse;
import java.io.FileInputStream;

/**
 * <p>
 * 对应sheet11，此表是教师参加教学会议表 服务类
 * </p>
 *
 * @author YingGu
 * @since 2020-11-04
 */
public interface TeachingMeetService extends IService<TeachingMeet> {

    //excel录入
    R readExcel(FileInputStream fileInputStream);

    //excel导出
    R writeExcel(TeachingMeet teachingMeet, HttpServletResponse response);

    //查询所有教师参加教学会议情况一览表
    R selectAllTeachMeet(String current, String limit);

    //条件查询
    R conditionalQuery(String current, String size,TeachingMeetRead teachingMeetRead);

    //更新信息
    R updateTeachingMeet(TeachingMeetRead teachingMeetRead);

    //删除教师
    R deleteTeachingMeetById(TeachingMeet teachingMeet);

    //添加
    R insertTeachingMeet(TeachingMeet teachingMeet);
}
